<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>商品评价</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="../../../css/wx/mui.min.css">
    <link rel="stylesheet" href="../../../css/wx/app.css">
    <link rel="stylesheet" href="../../../css/wx/style.css"/>
    <link rel="stylesheet" href="../../../css/wx/wx-iconfont.css"/>
    <script type="text/javascript">
        var pageConfig = {
            jss: ["app/sppj/sppj"],
            cb: function (o) {

                app.requireCss(['icons-extra'], doc);

            }
        };
    </script>
    <script data-main="../../../js/wx/public/config" src="../../../js/require.js"></script>
    <style>

        .mui-control-content {
            min-height: -webkit-fill-available;
        }

        .mui-bar-nav ~ .mui-content .mui-pull-top-pocket {
            top: 0;
        }

        .mui-table-view-cell:after {
            height: 0;
        }

        .mui-card {
            margin-bottom: 0;
        }

        .footBtn .mui-checkbox {
            background: #fff;
            line-height: 50px;
        }

        .footBtn .mui-checkbox input {
            top: -3px;
            left: 10px !important;
        }

        .footBtn button {
            font-size: 15px;
        }

        .footBtn.flexl .mui-checkbox.mui-left label {
            padding-left: 36px;
        }

        .mui-slider .mui-slider-group {
            margin-bottom: 20px;
        }

        .p10{
            padding: 10px 0 1px !important;
        }

        .wf-slider-noneBottom {
            top: 58px !important;
        }
    </style>

</head>

<body>
<!--搜索-->
<div class="mui-content">
    <div id="searchDiv" class="mui-input-row searchBox">
        <form action="javascript:app.returnFalse();">
            <i class="mui-icon mui-icon-search"></i>
            <input @search="toSearch" type="search" class="mui-input-clear" placeholder="品号|品名|客户名称"
                   v-model.trim="keyword">
        </form>
    </div>
</div>
<!--列表-->
<div id="slider" class="mui-slider responseSlider xdcx yssh wf-slider-noneBottom">
    <div id="sliderSegmentedControl"
         class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted shadow p10">
        <a class="mui-control-item" href="#item1mobile">
            未评价
        </a>
        <a class="mui-control-item" href="#item2mobile">
            已评价
        </a>
    </div>
    <div id="sliderProgressBar" class="mui-slider-progress-bar mui-col-xs-6"></div>
    <div class="mui-slider-group">
        <div id="item1mobile" class="mui-slider-item mui-control-content mui-active">
            <div id="scrollN" class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <sppj-listitem :model="items"></sppj-listitem>
                </div>
            </div>
        </div>
        <div id="item2mobile" class="mui-slider-item mui-control-content">
            <div id="scrollY" class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <sppj-listitem :model="items"></sppj-listitem>
                </div>
            </div>
        </div>
    </div>
</div>

<script id="item-template" type="text/x-template">
    <ul class="mui-table-view">
        <li class="mui-table-view-cell" v-for="item in model">
            <div v-if="item.GWCSDOCNO==item.GWCW002||item.GWCSSEQ==item.GWCW003" class="mui-card">
                <div class="mui-card-header">
                    <div class="mui-checkbox mui-left" style="flex: 1 1 0%;">
                        <label>{{item.GWAKL003}} ({{item.GWCS008}})</label>

                    </div>
                    <p><i class="iconfont icon icon-0011"></i>{{item.GWCSDOCDATE}}</p>
                </div>
                <div class="mui-card-content">
                    <div class="mui-card-content-inner">
                        <ul class="mui-table-view">
                            <li class="mui-table-view-cell mui-media">
                                <a href="javascript:;">
                                    <p class="imageBox"><img :src="item.GWAM015 | goodsImgsUtils"/></p>

                                    <div class="mui-media-body wf-price-color">
                                        <p class="wf-font-color">￥{{item.GWCS004
                                            |priceFMT}}<span>(数量：{{item.GWCS003}})</span>
                                            <!--<span class="ri wf-font-color">-->
                                            <!--<i class="iconfont icon icon-0012"></i>-->
                                            <!--{{item.GWCS005|priceFMT}}</span>-->
                                        </p>
                                        <p>商品名称：{{item.GWAML003}}</p>
                                        <p>序列号：{{item.GWCS019}}</p>
                                    </div>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="mui-card-footer comment">
                    <p>
                        <a href="#" class="wf-sfont-color wf-sborder-color">已评价</a>

                    </p>
                </div>
            </div>

            <!-- 现在是点击图片部分跳转到进度页面 -->
            <div v-else class="mui-card">
                <div class="mui-card-header">
                    <div class="mui-checkbox mui-left" style="flex: 1 1 0%;">
                        <label>{{item.GWAKL003}} ({{item.GWCS008}})</label>
                    </div>
                    <p><i class="iconfont icon icon-0011"></i>{{item.GWCSDOCDATE}}</p>
                </div>
                <div class="mui-card-content">
                    <div class="mui-card-content-inner">
                        <ul class="mui-table-view">
                            <li class="mui-table-view-cell mui-media">
                                <a href="javascript:;">
                                    <p class="imageBox"><img :src="item.GWAM015 | goodsImgsUtils"/></p>

                                    <div class="mui-media-body">
                                        <p class="wf-font-color">￥{{item.GWCS004
                                            |priceFMT}}<span>(数量：{{item.GWCS003}})</span>
                                            <!--<span class="ri wf-font-color">-->
                                            <!--<i class="iconfont icon icon-0012"></i>-->
                                            <!--{{item.GWCS005|priceFMT}}</span>-->
                                        </p>
                                        <p>商品名称：{{item.GWAML003}}</p>
                                        <p>序列号：{{item.GWCS019}}</p>
                                    </div>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="mui-card-footer noneComment">
                    <p>
                        <a href="#" @tap.stop="showDetail(item)" class="wf-sfont-color wf-sborder-color">评价晒单</a>
                    </p>
                </div>
            </div>
        </li>
    </ul>
</script>
</body>

</html>